wander off track

Translations
сбиться с пути
During the hike, they managed to wander off track.
Во время похода они умудрились сбиться с пути.